import 'package:flutter/material.dart';

import 'colors.dart';

final button_text_12_333 = ButtonStyle(
  textStyle: MaterialStateProperty.all(
      TextStyle(fontSize: 12, color: ThemeColors.text333)),
  //背景颜色
  backgroundColor: MaterialStateProperty.resolveWith((states) {
    //设置按下时的背景颜色
    /*if (states.contains(MaterialState.pressed)) {
        return Colors.blue[200];
      }*/
    //默认不使用背景颜色
    return null;
  }),
);
